<template>
  <div class="footer-container">
    <div class="left-section">
      <h1 class="logo">哔哩哔哩漫画</h1>
      <div class="links-container">
        <div class="link-group">
          <h3 class="link-title">关于我们</h3>
        </div>
        <div class="link-group">
          <h3 class="link-title">联系我们</h3>
        </div>
        <div class="link-group">
          <h3 class="link-title">友情链接</h3>
        </div>
        <div class="link-group">
          <h3 class="link-title">加入我们</h3>
        </div>
      </div>
    </div>

    <div class="right-section">
      <div class="download-app">
        <p>下载 bilibili 返回客户端</p>
      </div>
    </div>

    <div class="bottom-section">
      <div class="legal-info">
        <p>已获得 ICF 版本，沪 ICF 价 13002772 号 - 1 | 网络交换经济许可证：沪网交 [2019]8944-574 号</p>
        <p>沪公网文件：21011000003848 | 保留市值业务经营许可证: 沪 ICF 20100048 | 声明范围</p>
        <p>12445. 政务服务行政区域 | 上海市互联网信息公开有限责任公司</p>
        <p>上海国际贸易有限公司 | 地址：上海市浦东区友谊路488号 | 电话：021-52668888</p>
      </div>
    </div>
  </div>
</template>

<script setup>

</script>

<style scoped lang="scss">
.footer-container {
  width: 100%;
  background-color: #f6f6f6;
  color: #333;
  font-family: Arial, sans-serif;
  padding: 20px 0;
  border-top: 1px solid #e7e7e7;

  .left-section {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    margin-bottom: 20px;

    .logo {
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 15px;
      color: #000;
    }

    .links-container {
      display: flex;
      gap: 30px;

      .link-group {
        .link-title {
          font-size: 16px;
          font-weight: normal;
          margin-bottom: 5px;
        }

        .link-item {
          font-size: 14px;
          color: #666;
          margin: 5px 0;
          cursor: pointer;

          &:hover {
            color: #00a1d6;
          }
        }
      }
    }
  }

  .right-section {
    padding: 0 20px;
    margin-bottom: 20px;

    .download-app {
      p {
        font-size: 16px;
        color: #00a1d6;
        cursor: pointer;

        &:hover {
          text-decoration: underline;
        }
      }
    }
  }

  .bottom-section {
    padding: 20px;
    border-top: 1px solid #e7e7e7;
    margin-top: 20px;

    .legal-info {
      p {
        font-size: 12px;
        color: #999;
        line-height: 1.5;
        margin: 5px 0;
      }
    }
  }
}

@media (min-width: 768px) {
  .footer-container {
    .left-section {
      flex-direction: row;
      align-items: flex-start;

      .logo {
        margin-right: 50px;
        margin-bottom: 0;
      }
    }

    .left-section, .right-section {
      padding: 0 40px;
    }
  }
}
</style>
